/* 
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

var text;
var colortext;

function cleartext(id){
    var input = document.getElementById(id);
    text = input.value;
    colortext = input.style.color;
    input.style.color = "black";
    input.value = "";
}

function returntext(id){
    var input = document.getElementById(id);
    if(input.value == ""){
        input.value = text;
        input.style.color = colortext;
    }
}
